package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.ScmProduceInstockParam;
import com.xinsoft.entity.po.ScmProduceInstock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.vo.ScmProduceInstockPageVo;
import com.xinsoft.entity.vo.ScmProduceInstockVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ZYM
 * @description 针对表【scm_produce_instock(生产入库)】的数据库操作Mapper
 * @createDate 2023-08-14 11:30:37
 * @Entity com.xinsoft.entity.po.ScmProduceInstock
 */
public interface ScmProduceInstockMapper extends BaseMapper<ScmProduceInstock> {

    IPage<ScmProduceInstockPageVo> findListByParam(Page<ScmProduceInstockPageVo> page, @Param("param") ScmProduceInstockParam param);

    List<ScmProduceInstockPageVo> findListByParam(@Param("param") ScmProduceInstockParam param);

    ScmProduceInstockVo getProduceInstockById(Integer id);
}




